<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<head>
<style type="text/css">
h1 span{visibility:visible;}
td span{visibility:visible;}
.msg{float:left; line-height:1em; margin:0; display:block;border:1px solid #f66;padding:2px 5px;*padding:2px 5px 1px;}
.msg.rn{background-color:#fff2f2;border-color:#f66;}
</style>
</head>
<c-rt:set var="midContextPath" value='<%=ServerValue.getMidContextPath() %>'/>
<c-rt:set var="frontHostname" value='<%=ServerValue.getFrontHostname() %>'/>
<!-- 月历 -->
<script type="text/javascript" charset="UTF-8" src="/js/jquery.datepick.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.datepick-zh-CN.js"></script>
<link rel="stylesheet" type="text/css" href="/css/smoothness.datepick.css" />
<script type="text/javascript" charset="UTF-8" src="/js/yaodian100.common.js"></script>
<script language="javascript">
	$().ready( function() {
		
		$('#startDate').datepick({minDate: new Date(), showOn:'both',numberOfMonths:2, buttonImageOnly: true, buttonImage: '/images/calendar.gif',dateFormat:"yy-mm-dd"}); 
		$('#endDate').datepick({minDate: new Date(),showOn: 'both',numberOfMonths:2, buttonImageOnly: true, buttonImage: '/images/calendar.gif',dateFormat:"yy-mm-dd"});
		$("#subBtn").click(function(){
			if ( validate_data() ){
				$("#advStatus").val("10");
				$("#idxHotSaleAdvForm").submit();
			}
		});

		$("#draftBtn").click(function(){
			if ( validate_data() ){
				$("#advStatus").val("00");
				$("#idxHotSaleAdvForm").submit();
			}
		});
		
		$("#canBtn").click(function(){
			if ( validate_data() ){
				$("#advStatus").val("90");
				$("#idxHotSaleAdvForm").submit();
			}
		});
	});
	
	function validate_data(){
		var isCorrect = true;
		$("span:[id*=Tip]").hide();
		$("span:[id*=Tip]").text('');
		if ( $("#advName").val() == "" ){
			$("#advNameTip").text("请输入广告名称");
			$("#advNameTip").show();
			isCorrect = false;
		}
		if ( $("#startDate").val() == ""){
			$("#startDateTip").text("请输入起始时间");
			$("#startDateTip").show();
			isCorrect = false;
		}

		if( $("#endDate").val() == "" ){
			$("#endDateTip").text("请输入结束时间");
			$("#endDateTip").show();
			isCorrect = false;
		}
		for( var i = 1; i <= 6; i++ ){
			if ( $("#advId").val() == "" ){
				if ( $("#tab" + i + "Img").val() == "" ){
					$("#tab" + i + "Tip").text("请输入大图");
					$("#tab" + i + "Tip").show();
					isCorrect = false;
				}
			}
			if ( $("#tab" + i + "ImgLink").val() == "" ){
				appendWord($("#tab" + i + "Tip"),"请输入图片点击连结");
				$("#tab" + i + "Tip").show();
				isCorrect = false;
			}else if ( !isURL($("#tab" + i + "ImgLink").val()) ){
				appendWord($("#tab" + i + "Tip"),"图片点击连结格式错误");
				$("#tab" + i + "Tip").show();
				isCorrect = false;
			}
			for( var j = 1; j <=4; j++ ){
				if ( $("#tab" + i + "ProdId" + j).val() == ""){
					appendWord($("#tab" + i + "Tip"),"标题"+j+"不能空白");
					$("#tab" + i + "Tip").show();
					isCorrect = false;
				}
				if ( $("#tab" + i + "Prod" + j +"Link").val() == ""){
					$("#tab" + i + "Prod" + j +"LinkTip").text("标题"+j+"点击连结不能空白");
					$("#tab" + i + "Prod" + j +"LinkTip").show();
					isCorrect = false;
				}else if ( !isURL($("#tab" + i + "Prod" + j +"Link").val()) ){
					$("#tab" + i + "Prod" + j +"LinkTip").text("标题"+j+"连结格式错误");
					$("#tab" + i + "Prod" + j +"LinkTip").show();
					isCorrect = false;
				}
			}
			
		}
		if ( $("#tab1Img").val() != "" )
			$("#tab1ImgName").val($("#tab1Img").val());

		if ( $("#tab2Img").val() != "" )
			$("#tab2ImgName").val($("#tab2Img").val());

		if ( $("#tab3Img").val() != "" )
			$("#tab3ImgName").val($("#tab3Img").val());

		if ( $("#tab4Img").val() != "" )
			$("#tab4ImgName").val($("#tab4Img").val());

		if ( $("#tab5Img").val() != "" )
			$("#tab5ImgName").val($("#tab5Img").val());

		if ( $("#tab6Img").val() != "" )
			$("#tab6ImgName").val($("#tab6Img").val());
		return isCorrect;
	}

	function appendWord(origin, apptext){
		if(origin.text().length==0){
			origin.text(apptext);
		}else{
			origin.text(origin.text()+', '+apptext);
		}
		
	}
</script>
<s:actionerror />
<s:actionmessage />
<s:fielderror />
<h1>广告管理</h1>
<s:form action="idxHotSale/saveIdxHotSaleAdv.do" method="post" name="idxHotSaleAdvForm" id="idxHotSaleAdvForm" enctype="multipart/form-data">
	<table class="tb-data" width="100%">
		<tbody>
			<tr>
				<th>类型</th>
				<td>首页热销商品<input type="hidden" name="advType" id="advType" value="${advType}"/></td>
			</tr>
			<tr>
				<th>广告名称</th>
				<td><input type="text" id="advName" name="advName" value="${advName}" size="30" maxlength="30"/><br/><span id="advNameTip" class="msg rn" style="display:none;"></span></td>
			</tr>
			<tr>
				<th>起迄时间</th>
				<td>
				<input type="text" id="startDate" name="startDate" value="${startDate}" maxlength="10"/> ~ 
				<input type="text" id="endDate" name="endDate" value="${endDate}" maxlength="10"/><br/>
				<span id="startDateTip" class="msg rn" style="display:none;"></span>   <span id="endDateTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>
			<tr>
				<th colspan="4">tab设定</th>
			</tr>
			<tr>
				<th>Tab1</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab1ImgFolder}/${advType}/${tab1ImgName}" width="105" height="75"/><br/>
					</c-rt:if>
					<b>大图:</b><s:file id="tab1Img" name="tab1Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab1ImgLink" id="tab1ImgLink" value="${tab1ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab1ImgName" name="tab1ImgName" value="${tab1ImgName}"/>
					<input type="hidden" name="tab1ImgFolder" value="${tab1ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab1ProdId1" id="tab1ProdId1" maxlength="7" size="15" value="${tab1ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab1Prod1Link" id="tab1Prod1Link" value="${tab1Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab1ProdId2" id="tab1ProdId2" maxlength="7" size="15" value="${tab1ProdId2}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题二点击连结:</b><input type="text" name="tab1Prod2Link" id="tab1Prod2Link" value="${tab1Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab1ProdId3" id="tab1ProdId3" maxlength="7" size="15" value="${tab1ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab1Prod3Link" id="tab1Prod3Link" value="${tab1Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab1ProdId4" id="tab1ProdId4" maxlength="7" size="15" value="${tab1ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab1Prod4Link" id="tab1Prod4Link" value="${tab1Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab1Tip" class="msg rn" style="display:none;"></span>
					<span id="tab1Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab1Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab1Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab1Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>
			<tr>
				<th>Tab2</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab2ImgFolder}/${advType}/${tab2ImgName}" width="105" height="75"/><br/>
					</c-rt:if>				
					<b>大图:</b><s:file id="tab2Img" name="tab2Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab2ImgLink" id="tab2ImgLink" value="${tab2ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab2ImgName" name="tab2ImgName" value="${tab2ImgName}"/>	
					<input type="hidden" name="tab2ImgFolder" value="${tab2ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab2ProdId1" id="tab2ProdId1" maxlength="7" size="15" value="${tab2ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab2Prod1Link" id="tab2Prod1Link" value="${tab2Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab2ProdId2" id="tab2ProdId2" maxlength="7" size="15" value="${tab2ProdId2}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题二点击连结:</b><input type="text" name="tab2Prod2Link" id="tab2Prod2Link" value="${tab2Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab2ProdId3" id="tab2ProdId3" maxlength="7" size="15" value="${tab2ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab2Prod3Link" id="tab2Prod3Link" value="${tab2Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab2ProdId4" id="tab2ProdId4" maxlength="7" size="15" value="${tab2ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab2Prod4Link" id="tab2Prod4Link" value="${tab2Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab2Tip" class="msg rn" style="display:none;"></span>
					<span id="tab2Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab2Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab2Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab2Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>
			<tr>
				<th>Tab3</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab3ImgFolder}/${advType}/${tab3ImgName}" width="105" height="75"/><br/>
					</c-rt:if>				
					<b>大图:</b><s:file id="tab3Img" name="tab3Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab3ImgLink" id="tab3ImgLink" value="${tab3ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab3ImgName" name="tab3ImgName" value="${tab3ImgName}"/>
					<input type="hidden" name="tab3ImgFolder" value="${tab3ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab3ProdId1" id="tab3ProdId1" maxlength="7" size="15" value="${tab3ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab3Prod1Link" id="tab3Prod1Link" value="${tab3Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab3ProdId2" id="tab3ProdId2" maxlength="7" size="15" value="${tab3ProdId2}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题二点击连结:</b><input type="text" name="tab3Prod2Link" id="tab3Prod2Link" value="${tab3Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab3ProdId3" id="tab3ProdId3" maxlength="7" size="15" value="${tab3ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab3Prod3Link" id="tab3Prod3Link" value="${tab3Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab3ProdId4" id="tab3ProdId4" maxlength="7" size="15" value="${tab3ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab3Prod4Link" id="tab3Prod4Link" value="${tab3Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab3Tip" class="msg rn" style="display:none;"></span>
					<span id="tab3Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab3Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab3Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab3Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>	
			<tr>
				<th>Tab4</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab4ImgFolder}/${advType}/${tab4ImgName}" width="105" height="75"/><br/>
					</c-rt:if>				
					<b>大图:</b><s:file id="tab4Img" name="tab4Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab4ImgLink" id="tab4ImgLink" value="${tab4ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab4ImgName" name="tab4ImgName" value="${tab4ImgName}"/>		
					<input type="hidden" name="tab4ImgFolder" value="${tab4ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab4ProdId1" id="tab4ProdId1" maxlength="7" size="15" value="${tab4ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab4Prod1Link" id="tab4Prod1Link" value="${tab4Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab4ProdId2" id="tab4ProdId2" maxlength="7" size="15" value="${tab4ProdId2}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题二点击连结:</b><input type="text" name="tab4Prod2Link" id="tab4Prod2Link" value="${tab4Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab4ProdId3" id="tab4ProdId3" maxlength="7" size="15" value="${tab4ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab4Prod3Link" id="tab4Prod3Link" value="${tab4Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab4ProdId4" id="tab4ProdId4" maxlength="7" size="15" value="${tab4ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab4Prod4Link" id="tab4Prod4Link" value="${tab4Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab4Tip" class="msg rn" style="display:none;"></span>
					<span id="tab4Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab4Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab4Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab4Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>
			<tr>
				<th>Tab5</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab5ImgFolder}/${advType}/${tab5ImgName}" width="105" height="75"/><br/>
					</c-rt:if>				
					<b>大图:</b><s:file id="tab5Img" name="tab5Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab5ImgLink" id="tab5ImgLink" value="${tab5ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab5ImgName" name="tab5ImgName" value="${tab5ImgName}"/>		
					<input type="hidden" name="tab5ImgFolder" value="${tab5ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab5ProdId1" id="tab5ProdId1" maxlength="7" size="15" value="${tab5ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab5Prod1Link" id="tab5Prod1Link" value="${tab5Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab5ProdId2" id="tab5ProdId2" maxlength="7" size="15" value="${tab5ProdId2}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题二点击连结:</b><input type="text" name="tab5Prod2Link" id="tab5Prod2Link" value="${tab5Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab5ProdId3" id="tab5ProdId3" maxlength="7" size="15" value="${tab5ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab5Prod3Link" id="tab5Prod3Link" value="${tab5Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab5ProdId4" id="tab5ProdId4" maxlength="7" size="15" value="${tab5ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab5Prod4Link" id="tab5Prod4Link" value="${tab5Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab5Tip" class="msg rn" style="display:none;"></span>
					<span id="tab5Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab5Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab5Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab5Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>	
			<tr>
				<th>Tab6</th>
				<td>
					<c-rt:if test="${not empty advId}">
						<img src="${frontHostname }/eventImg/${tab6ImgFolder}/${advType}/${tab6ImgName}" width="105" height="75"/><br/>
					</c-rt:if>				
					<b>大图:</b><s:file id="tab6Img" name="tab6Img" value="" size="50" ></s:file><br/><span class="txt-rd">图片尺寸:105x75</span><br/>
					<b>图片点击连结:</b><input type="text" name="tab6ImgLink" id="tab6ImgLink" value="${tab6ImgLink}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<input type="hidden" id="tab6ImgName" name="tab6ImgName" value="${tab6ImgName}"/>		
					<input type="hidden" name="tab6ImgFolder" value="${tab6ImgFolder}"/>
					<b>标题一:</b><input type="text" name="tab6ProdId1" id="tab6ProdId1" maxlength="7" size="15" value="${tab6ProdId1}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题一点击连结:</b><input type="text" name="tab6Prod1Link" id="tab6Prod1Link" value="${tab6Prod1Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题二:</b><input type="text" name="tab6ProdId2" id="tab6ProdId2" maxlength="7" size="15" value="${tab6ProdId2}"/<span class="txt-rd">字数限制:7个中文字</span>><br/>
					<b>标题二点击连结:</b><input type="text" name="tab6Prod2Link" id="tab6Prod2Link" value="${tab6Prod2Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题三:</b><input type="text" name="tab6ProdId3" id="tab6ProdId3" maxlength="7" size="15" value="${tab6ProdId3}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题三点击连结:</b><input type="text" name="tab6Prod3Link" id="tab6Prod3Link" value="${tab6Prod3Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<b>标题四:</b><input type="text" name="tab6ProdId4" id="tab6ProdId4" maxlength="7" size="15" value="${tab6ProdId4}"/><span class="txt-rd">字数限制:7个中文字</span><br/>
					<b>标题四点击连结:</b><input type="text" name="tab6Prod4Link" id="tab6Prod4Link" value="${tab6Prod4Link}" size="60"/><br/><span class="txt-rd">ex:http://www.yaodian100.com</span><br/>
					<span id="tab6Tip" class="msg rn" style="display:none;"></span>
					<span id="tab6Prod1LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab6Prod2LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab6Prod3LinkTip" class="msg rn" style="display:none;"></span>
					<span id="tab6Prod4LinkTip" class="msg rn" style="display:none;"></span>
				</td>
			</tr>						
			<tr>
				<td colspan="2">
					<input type="hidden" id="advId" name="advId" value="${advId}"/>
					<input type="hidden" id="advStatus" name="advStatus" value="${advStatus}"/>
					<input type="button" id="subBtn" name="subBtn" value="发送"/>
					<input type="button" id="draftBtn" name="draftBtn" value="草稿"/>
					<input type="button" id="canBtn" name="canBtn" value="暂停"/>
				</td>
			</tr>												
		</tbody>
	</table>
</s:form>
<div class="f-link">
	<a href="${midContextPath}/generate/searchIdx.do">回广告查询页</a>
</div>